package com.koron.car.web.applycar.bean.query;

import com.koron.bean.query.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("用车行驶记录")
public class DriverRecordQuery extends PageQuery {

    @ApiModelProperty("id，主键")
    private String id;

    @ApiModelProperty("w_cm_car_apply.id,用车申请id")
    private String applyId;

    @ApiModelProperty("w_cm_schedule.id, 用车调度id")
    private String scheduleId;

    @ApiModelProperty("司机id,w_cm_driver.id")
    private String driverId;

    @ApiModelProperty("w_cm_driver.driver_name,司机名称")
    private String driverName;

    @ApiModelProperty("开始时间")
    private Date startTime;

    @ApiModelProperty("开始行驶里程")
    private Double startMileage;

    @ApiModelProperty("开始经纬度,格式:[经度,纬度]")
    private String startLatlon;

    @ApiModelProperty("开始位置名称")
    private String startPlace;

    @ApiModelProperty("结束时间")
    private Date endTime;

    @ApiModelProperty("结束行驶里程")
    private Double endMileage;

    @ApiModelProperty("结束经纬度,格式:[经度,纬度]")
    private String endLatlon;

    @ApiModelProperty("结束位置名称")
    private String endPlace;

    @ApiModelProperty("停车费")
    private Double parkFee;

    @ApiModelProperty("其他费用")
    private Double otherFee;

    @ApiModelProperty("行驶记录的状态")
    private String state;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
}
